﻿using B.S.Orders.ErrorCord;
using MediatR;

namespace B.S.Orders.Write.Api.Application.Command.ProcessCommand
{
    public class AddProcessCommand : IRequest<APIResult<object>>
    {
        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessName { get; set; }
        /// <summary>
        /// 工序编号
        /// </summary>
        public string ProcessNumber { get; set; }
        /// <summary>
        /// 工序类型
        /// </summary>
        public string ProcessType { get; set; }
        /// <summary>
        /// 产能主体
        /// </summary>
        public bool CapacityBody { get; set; }
        /// <summary>
        /// 工序负责人
        /// </summary>
        public string ProcessPerson { get; set; }
        /// <summary>
        /// 制单人员
        /// </summary>
        public string DocumentMakers { get; set; }
        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime DocumentDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 订单主键
        /// </summary>
        public int OrdersId { get; set; }
    }
}
